package 买卖股票的最佳时机II;

/**
 * @author: AirMan
 * @date: 2025/5/14 12:53
 * @description:
 */
public class Test {
    public static void main(String[] args) {

        System.out.println(new Solution().maxProfit(new int[]{7,6,4,3,1}));

    }
}
